QT      += core gui network sql qml quick concurrent  widgets  xml webview printsupport
greaterThan(QT_MAJOR_VERSION,5):QT += core5compat
CONFIG  += c++2a plugin
DESTDIR = ../../../../dist/plugins
TARGET  = sailmipim_plugin_docview
TEMPLATE = lib

DEFINES += SAILMIPIM_DOCVIEW_EXPORTS _HAS_DEPRECATED_RESULT_OF

INCLUDEPATH += ../interfaces                    \
               ../../../interfaces              \
               ../../../util/sailmipim_util_core       \
               ../../../util/sailmipim_util_tags       \
               ../../../util/sailmipim_util_xpc        \
               ../../../util/sailmipim_util_gui        \
               ../../../util/sailmipim_util_models     \
               ../../../util/sailmipim_util_shortcuts  \
               ../../../util/sailmipim_util_sys        \
               ../../../util/sailmipim_util_threads    \
               ../../../util/sailmipim_util_sll        \
               ../../../xsd

LIBS += -L../../../../dist          \
        -lsailmipim_util_core             \
        -lsailmipim_util_tags           \
        -lsailmipim_util_xpc           \
        -lsailmipim_util_gui            \
        -lsailmipim_util_models         \
        -lsailmipim_util_shortcuts          \
        -lsailmipim_util_sys             \
        -lsailmipim_util_threads          \
        -lsailmipim_util_sll          \
        -lsailmipim_xsd

FORMS += \
    annwidget.ui \
    arbitraryrotationwidget.ui \
    bookmarkswidget.ui \
    choosebackenddialog.ui \
    docinfodialog.ui \
    documenttab.ui \
    searchtabwidget.ui \
    thumbswidget.ui \
    tocwidget.ui

DISTFILES += \
    docviewsettings.xml \
    sailmipim_docview_en.ts \
    share/global_icons/plugins/default/docview.svg

HEADERS += \
    annitem.h \
    annmanager.h \
    anntreedelegate.h \
    annwidget.h \
    arbitraryrotationwidget.h \
    bookmark.h \
    bookmarksmanager.h \
    bookmarkswidget.h \
    choosebackenddialog.h \
    common.h \
    converteddoccleaner.h \
    core.h \
    coreloadproxy.h \
    defaultbackendmanager.h \
    docinfodialog.h \
    docstatemanager.h \
    documentbookmarksmanager.h \
    documenttab.h \
    docview.h \
    filewatcher.h \
    formmanager.h \
    linkitem.h \
    linksmanager.h \
    navigationhistory.h \
    pagegraphicsitem.h \
    pagenumlabel.h \
    pageslayoutmanager.h \
    pagesview.h \
    pixmapcachemanager.h \
    presenterwidget.h \
    recentlyopenedmanager.h \
    searchtabwidget.h \
    smoothscroller.h \
    textsearchhandler.h \
    thumbswidget.h \
    tocwidget.h \
    xmlsettingsmanager.h

SOURCES += \
    annitem.cpp \
    annmanager.cpp \
    anntreedelegate.cpp \
    annwidget.cpp \
    arbitraryrotationwidget.cpp \
    bookmark.cpp \
    bookmarksmanager.cpp \
    bookmarkswidget.cpp \
    choosebackenddialog.cpp \
    common.cpp \
    converteddoccleaner.cpp \
    core.cpp \
    coreloadproxy.cpp \
    defaultbackendmanager.cpp \
    docinfodialog.cpp \
    docstatemanager.cpp \
    documentbookmarksmanager.cpp \
    documenttab.cpp \
    docview.cpp \
    filewatcher.cpp \
    formmanager.cpp \
    linkitem.cpp \
    linksmanager.cpp \
    navigationhistory.cpp \
    pagegraphicsitem.cpp \
    pagenumlabel.cpp \
    pageslayoutmanager.cpp \
    pagesview.cpp \
    pixmapcachemanager.cpp \
    presenterwidget.cpp \
    recentlyopenedmanager.cpp \
    searchtabwidget.cpp \
    smoothscroller.cpp \
    textsearchhandler.cpp \
    thumbswidget.cpp \
    tocwidget.cpp \
    xmlsettingsmanager.cpp





